package com.ruoyi.project.wenyanwen.article.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 内容管理对象 article
 *
 * @author shixiangwen
 * @date 2020-08-05
 */
public class Article extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 内容
     */
    @Excel(name = "内容")
    private String content;

    /**
     * 学段
     */
    private String stage;

    /**
     * 注解
     */
    @Excel(name = "注解")
    private String zhujie;

    /**
     * 作者
     */
    @Excel(name = "作者")
    private String author;

    /**
     * 译文
     */
    @Excel(name = "译文")
    private String yiwen;

    /**
     * 赏析
     */
    @Excel(name = "赏析")
    private String shangxi;

    /**
     * 分类
     */
    @Excel(name = "分类")
    private String fenlei;

    /**
     * 源ID
     */
    private String sourceId;

    /**
     * 音频
     */
    @Excel(name = "音频")
    private String voiceUrl;

    /**
     * 朝代
     */
    @Excel(name = "朝代")
    private String chaodai;

    /**
     * 对照翻译
     */
    @Excel(name = "对照翻译")
    private String yiwenSentence;

    /**
     * 对照注释
     */
    @Excel(name = "对照注释")
    private String zhujieSentence;

    /**
     * 课本
     */
    @Excel(name = "课本")
    private String keben;

    /**
     *
     */
    @Excel(name = "")
    private String sourceTag;

    /**
     * 分类
     */
    @Excel(name = "分类")
    private String category;

    /**
     * 序号
     */
    @Excel(name = "序号")
    private Long seq;

    /**
     * 古籍
     */
    @Excel(name = "古籍")
    private String guji;

    /**
     * 标签
     */
    @Excel(name = "标签")
    private String tag;

    /**
     * 摘要
     */
    @Excel(name = "摘要")
    private String zhaiyao;

    /**
     * 模板
     */
    private Integer template;

    /**
     * 标签名称列表
     */
    private String tagName;

    private String[] tags;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getStage() {
        return stage;
    }

    public void setZhujie(String zhujie) {
        this.zhujie = zhujie;
    }

    public String getZhujie() {
        return zhujie;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAuthor() {
        return author;
    }

    public void setYiwen(String yiwen) {
        this.yiwen = yiwen;
    }

    public String getYiwen() {
        return yiwen;
    }

    public void setShangxi(String shangxi) {
        this.shangxi = shangxi;
    }

    public String getShangxi() {
        return shangxi;
    }

    public void setFenlei(String fenlei) {
        this.fenlei = fenlei;
    }

    public String getFenlei() {
        return fenlei;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setVoiceUrl(String voiceUrl) {
        this.voiceUrl = voiceUrl;
    }

    public String getVoiceUrl() {
        return voiceUrl;
    }

    public void setChaodai(String chaodai) {
        this.chaodai = chaodai;
    }

    public String getChaodai() {
        return chaodai;
    }

    public void setYiwenSentence(String yiwenSentence) {
        this.yiwenSentence = yiwenSentence;
    }

    public String getYiwenSentence() {
        return yiwenSentence;
    }

    public void setZhujieSentence(String zhujieSentence) {
        this.zhujieSentence = zhujieSentence;
    }

    public String getZhujieSentence() {
        return zhujieSentence;
    }

    public void setKeben(String keben) {
        this.keben = keben;
    }

    public String getKeben() {
        return keben;
    }

    public void setSourceTag(String sourceTag) {
        this.sourceTag = sourceTag;
    }

    public String getSourceTag() {
        return sourceTag;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCategory() {
        return category;
    }

    public void setSeq(Long seq) {
        this.seq = seq;
    }

    public Long getSeq() {
        return seq;
    }

    public void setGuji(String guji) {
        this.guji = guji;
    }

    public String getGuji() {
        return guji;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTag() {
        return tag;
    }

    public void setZhaiyao(String zhaiyao) {
        this.zhaiyao = zhaiyao;
    }

    public String getZhaiyao() {
        return zhaiyao;
    }


    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String[] getTags() {
        return tags;
    }

    public void setTags(String[] tags) {
        this.tags = tags;
    }

    public Integer getTemplate() {
        return template;
    }

    public void setTemplate(Integer template) {
        this.template = template;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("content", getContent())
                .append("stage", getStage())
                .append("zhujie", getZhujie())
                .append("author", getAuthor())
                .append("yiwen", getYiwen())
                .append("shangxi", getShangxi())
                .append("fenlei", getFenlei())
                .append("sourceId", getSourceId())
                .append("voiceUrl", getVoiceUrl())
                .append("chaodai", getChaodai())
                .append("yiwenSentence", getYiwenSentence())
                .append("zhujieSentence", getZhujieSentence())
                .append("keben", getKeben())
                .append("sourceTag", getSourceTag())
                .append("category", getCategory())
                .append("seq", getSeq())
                .append("guji", getGuji())
                .append("tag", getTag())
                .append("zhaiyao", getZhaiyao())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
